package com.b2j.language;

import com.b2j.base.Lexema;
import com.b2j.base.MainTools;
import com.b2j.base.Routine;

public class Frame extends Routine {

	@Override
	public String generate(Lexema lexema) {
		String line = "frame";
		
		lexema = MainTools.tools.nextLexema();
		line = line + MainTools.tools.identifier(lexema);
		
		if (line.equals("frame;"))
			line = "frame();";
		return line;
	}


	
}
